package com.qianfeng.openapi.monitor.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/5
 * @Time: 下午2:26
 */
@FeignClient(serviceId = "openapi-search")
public interface SearchServiceClient {

    @RequestMapping("/search/statAvg")
    public Map<String, Integer> statAvg(@RequestParam("startTime") long startTime,
           @RequestParam("endTime")long endTime)  ;


    }
